package com.itheima.test1;

public class Test1Inner {
    public static void main(String[] args) {
        Outer.Inner inner = new Outer().new Inner();
        System.out.println(inner.num);
        inner.show();
    }
}

class Outer {
    int a = 10;
    private int aa = 20;
    class Inner {
        int num = 10;

        public void show() {
            System.out.println("Inner...show");
            System.out.println(a);
            System.out.println(aa);
        }
    }
}

class Outer2 {
    class Inner {

    }
}